package cn.pcManage.goodsManage.service;

import cn.common.common.model.ServerResponse;
import cn.common.goods.model.BaseGoods;
import cn.pcManage.goodsManage.model.Goods;

/**
 * Created by Zhang on 2019/1/12.
 */
public interface IGoodsService {
    ServerResponse<?> getGoodsList(BaseGoods goods);

    ServerResponse<?> addGoods(Goods goods);

    ServerResponse<?> updateGoods(BaseGoods goods);

    ServerResponse<?> deleteGoods(Integer id);

    ServerResponse<?> getGoodsInfo(Integer id);

    ServerResponse<?> updateGoodsStatus(BaseGoods goods);
}
